[INFO] cloning repository https://github.com/dragon-zhang/rust-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragon-zhang/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8806a90d959425731d86339b9552128f09e8e4df
[INFO] building dragon-zhang/rust-study against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dragon-zhang/rust-study on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] finished tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] tweaked toml for git repo https://github.com/dragon-zhang/rust-study written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/dragon-zhang/rust-study already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b99547046de4fe8080f2c944ce1ca9920d619862a282a44920206290e1fd30bf
[INFO] running `Command { std: "docker" "start" "-a" "b99547046de4fe8080f2c944ce1ca9920d619862a282a44920206290e1fd30bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b99547046de4fe8080f2c944ce1ca9920d619862a282a44920206290e1fd30bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b99547046de4fe8080f2c944ce1ca9920d619862a282a44920206290e1fd30bf", kill_on_drop: false }`
[INFO] [stdout] b99547046de4fe8080f2c944ce1ca9920d619862a282a44920206290e1fd30bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43ebe2efde04cbdeef4dcee326d4b90ec8fe05fc3537b28ce7ac628dd8fa1580
[INFO] running `Command { std: "docker" "start" "-a" "43ebe2efde04cbdeef4dcee326d4b90ec8fe05fc3537b28ce7ac628dd8fa1580", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling priority-queue v1.2.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling deadpool-runtime v0.1.2
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling retain_mut v0.1.9
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tokio v1.16.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling deadpool v0.9.5
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling rust-study v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `f2` is never read
[INFO] [stdout]   --> src/lib.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct Struct {
[INFO] [stdout]    |                ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |         f2: u32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/bin/30super_trait.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Point {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 12 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 13 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/bin/21weak.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 6  |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]   --> src/bin/06struct.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Color(i32, i32, i32);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerUser` is never constructed
[INFO] [stdout]   --> src/bin/06struct.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct InnerUser<'a> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_account` is never used
[INFO] [stdout]   --> src/bin/06struct.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_account(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_password` is never used
[INFO] [stdout]   --> src/bin/06struct.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_password(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len`
[INFO] [stdout]   --> src/bin/33socket_client.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             sin_len: 0,
[INFO] [stdout]    |             ^^^^^^^ `sockaddr_in` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/33socket_client.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |             sin_family: c::AF_INET as u8,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ expected `u16`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-study` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/bin/03round.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     for index in 0..10 {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "43ebe2efde04cbdeef4dcee326d4b90ec8fe05fc3537b28ce7ac628dd8fa1580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43ebe2efde04cbdeef4dcee326d4b90ec8fe05fc3537b28ce7ac628dd8fa1580", kill_on_drop: false }`
[INFO] [stdout] 43ebe2efde04cbdeef4dcee326d4b90ec8fe05fc3537b28ce7ac628dd8fa1580
